package com.xfcy.blog.common.enums;

/**
 * 文章发布状态枚举类
 * @author 晓风残月Lx
 * @date 2023/4/10 9:05
 */
public enum PublishEnum {

    /**
     * 文章下架
     */
    SHELF(0),

    /**
     * 文章发布
     */
    PUBLISH(1);

    private int code;

    PublishEnum(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
